import request from '@/utils/request'

// 查询思想舆情转报列表
export function listThoughtReport(query) {
  return request({
    url: '/masterRecord/thoughtReport/list',
    method: 'get',
    params: query
  })
}

// 查询思想舆情转报详细
export function getThoughtReport(ctId) {
  return request({
    url: '/masterRecord/thoughtReport/' + ctId,
    method: 'get'
  })
}

// 新增思想舆情转报
export function addThoughtReport(data) {
  return request({
    url: '/masterRecord/thoughtReport',
    method: 'post',
    data: data
  })
}

// 修改思想舆情转报
export function updateThoughtReport(data) {
  return request({
    url: '/masterRecord/thoughtReport/edit',
    method: 'post',
    data: data
  })
}

// 删除思想舆情转报
export function delThoughtReport(ctId) {
  return request({
    url: '/masterRecord/thoughtReport/delete/' + ctId,
    method: 'post'
  })
}

// 导出思想舆情转报
export function exportThoughtReport(query) {
  return request({
    url: '/masterRecord/thoughtReport/export',
    method: 'get',
    params: query
  })
}